package com.example.design.personal.observer;

public class Message {

    private String name;

    private int tabIndex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTabIndex() {
        return tabIndex;
    }

    public void setTabIndex(int tabIndex) {
        this.tabIndex = tabIndex;
    }

    @Override
    public String toString() {
        return "Message{" +
                "name='" + name + '\'' +
                ", tabIndex=" + tabIndex +
                '}';
    }
}
